package com.siterwell.push.service;

import net.thxjj.sitermodel.Device;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface IDeviceService {

    public List<Device> getAllDeviceList();

    public void insertGateway(Device device);

    public List<String> getRelations(String deviceId);


    @Async("asyncExecutor")
    public void sendFCMMessage(String registerToken,String title,String content);

}
